<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
    <ol class="breadcrumb breadcrumb-cus">
        <li><a href="/"><?php echo __d('default','Trang chủ');?></a></li>
        <li class="active"><?php echo __d('default','Liên hệ');?></li>
    </ol>
    <!-- block 2 -->
    <div class="block-tab">
        <div class="tabpanel-cus" role="tabpanel">
            <!-- Nav tabs -->
            <ul class="nav nav-tabs mytabs-cus mytabs-nbdcus">
                <li class="item active"><a href="#item-11" data-toggle="tab"><?php echo __d('default','Liên hệ');?></a></li>
            </ul>
            <!-- Tab panes -->
            <div class="tab-content">
                <div class="tab-pane tab-pane-bgtop fade in active" id="item-11">
                    <div class="tabs-pane-content-full mb30">
                        <div class="row">
                            <div class="col-xs-12 col-sm-7 col-md-7 col-lg-7">
                                <?php if(!empty($content)):?>
                                    <ul class="list-news list-news-df">
                                        <?php foreach($content as $key => $values):?>
                                            <li class="list-news-item">
                                                <div href="#" class="list-thumbnail-content">
                                                    <?php
                                                        if((!empty($values['Node']['field_image_default']))&&(file_exists(WWW_ROOT . '/img/' . $values['Node']['field_image_default'])))
                                                        {
                                                            $thumb_pro = $this->Image->make_thumb($values['Node']['field_image_default'],WWW_ROOT . '/img/','134','170');
                                                        }
                                                        else
                                                        {
                                                            $thumb_pro = $this->Image->make_thumb('no_image.jpg',WWW_ROOT.'/img/','134','170');
                                                        }
                                                    ?> 
                                                    <div class="image-ct pull-left mr15">
                                                        <img src="<?php echo $this->Html->webroot('/img/' .$thumb_pro);?>" alt="du an" height="170" width="134">
                                                    </div>
                                                    <div class="caption-content">
                                                        <h3 class="title-gr"><?php echo $values['Node']['title'];?>:</h3>
                                                        <?php echo $values['Node']['field_body'];?>
                                                    </div>
                                                </div>
                                            </li>
                                            <?php endforeach;?>
                                    </ul>
                                    <?php endif;?>
                            </div>
                            <div class="col-xs-12 col-sm-5 col-md-5 col-lg-5">
                                <div class="aside-block mr0 pb30">
                                    <div class="form-content">
                                        <?php echo $this->Session->flash();?>
                                        <p class="desc-fr"><?php echo __d('default','Quý khách hàng có thể liên lạc với chúng tôi bằng cách điền đầy đủ thông tin vào mẫu sau');?>:</p>
                                        <div class="main-form contact-form">
                                            <?php  
                                                echo $this->Form->create('Contact', array('url' => $this->request->here,
                                                    'method'=> 'post',
                                                    'class'=>'form-horizontal'
                                                )); 
                                            ?>
                                            <div class="form-group">
                                                <label for="inputFullName" class="col-sm-3 control-label"><?php echo __d('default','Họ Tên');?></label>
                                                <div class="col-sm-9">
                                                    <?php echo $this->Form->input('name', array('type' =>'text','label' =>false,'div'=>false,'class' => 'form-control'));?>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label for="inputCompany" class="col-sm-3 control-label"><?php echo __d('default','Công ty');?></label>
                                                <div class="col-sm-9">
                                                    <?php echo $this->Form->input('company_name', array('type' =>'text','label' =>false,'div'=>false,'class' => 'form-control'));?>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label for="inputAddress" class="col-sm-3 control-label"><?php echo __d('default','Địa chỉ');?></label>
                                                <div class="col-sm-9">
                                                    <?php echo $this->Form->input('address', array('type' =>'text','label' =>false,'div'=>false,'class' => 'form-control'));?>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label for="inputEmail3" class="col-sm-3 control-label">Email</label>
                                                <div class="col-sm-9">
                                                    <?php echo $this->Form->input('email', array('type' =>'text','label' =>false,'div'=>false,'class' => 'form-control'));?>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label for="inputNote" class="col-sm-3 control-label"><?php echo __d('default','Nội Dung');?></label>
                                                <div class="col-sm-9">
                                                    <?php echo $this->Form->input('content', array('type' =>'textarea','label' =>false,'div'=>false,'id'=>"wd-request",'class'=>'form-control','cols'=>"30",'rows'=>"8"));?>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <div class="col-sm-offset-3 col-sm-9">
                                                    <button type="submit" class="btn btn-default btn-default-bl"><?php echo __d('default','Gửi');?></button>
                                                    <button type="submit" class="btn btn-default btn-default-red-sm"><?php echo __d('default','Xóa');?></button>
                                                </div>
                                            </div>
                                            <?php echo $this->Form->end();?>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <?php echo $this->element('Block/online');?>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- block 2 .end -->
</div>